package com.example.highway.entity;

import com.alibaba.fastjson.annotation.JSONField;

import javax.persistence.*;

@Entity
@Table(name = "lnspector")
public class Inspector {
    @Id
    @Column(name = "IID", unique=true)
    @JSONField(name = "IID")
    private String IID;

    @Column(name = "password")
    @JSONField(name = "password")
    private String password;
    @Column(name = "phone")
    @JSONField(name = "phone")
    private String phone;


    public String getIID() {
        return IID;
    }

    public void setIID(String IID) {
        this.IID = IID;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


}
